
#iotv30/makefile 


# This is a basic Makefile for setting the general configuration 
include ../Makeheader.mk


OBJS = dev_manager.o  dev_module.o dev_lamp.o  dev_liquid_level.o   \
       dev_temper.o  dev_ac_meter.o dev_DIDO.o dev_smoke.o  dev_air_cond.o  dev_battery.o dev_water.o dev_smoke.o dev_dc_meter.o  dev_generator.o  ##   #dev_lamp.o #include "dev_generator.h"
	   
all : $(OBJS) COPY_OBJ
#	$(CC) $^  -o  $@

%.o : %.c 
	$(CC)  $(CFLAGS)  -c  $<  -o  $@  


COPY_OBJ:
	cp  *.o ../$(OBJS_DIR)
	


.PHONY: clean

clean:
	@rm -f *.o *.a 




